var person ={
    name:'zs',
    age :20,
    greet:function () {
        console.log('hello,my name is '+this.name+' and i am '+this.age+' years old');
    }
}
console.log(person.name);
console.log(person.age);
person.greet();